package com.jumi.microservice.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


/**
 * 用户 token配置类
 * @author Administrator
 */
@Configuration
@ConfigurationProperties("user.token")
public class UserTokenConfig {

    /**
     * token过期时间
     */
    private int expiredDays;

    public int getExpiredDays() {
        return expiredDays;
    }

    public void setExpiredDays(int expiredDays) {
        this.expiredDays = expiredDays;
    }
}
